#include "LoanItem.h"




	LoanItem::LoanItem()
	{
		this->amount=0;
		this->ProductName="testPro";
		this->Price=0.0;
    }
	void LoanItem::initialize(int UID)
	{
	   this->amount=10;//randomnumber, later on take from DB
	   this->ProductName="testing";//randomname, later on take from DB
	   this->Price=0.0;//randomnumber, later on take from DB
    }
	AnsiString LoanItem::asAString()
	{
		AnsiString temp;
		temp = this->ProductName;
		temp += " - ";
		temp +=AnsiString(this->Price);
		return temp;
	}
